﻿using FM.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FM.Service
{
    public interface IExpenseService
    {
        IEnumerable<Expense> GetExpenses(DateTime startDate, DateTime ednDate);

        Expense GetExpense(int id);

        void CreateExpense(Expense expense);

        void UpdateExpense(Expense expense);

        void DeleteExpense(int id);
    }
}
